Integrand size = 22, antiderivative size = 63 \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=\frac {2 \sqrt {x}}{a}+\frac {4 b \text {arctanh}\left (\frac {a-b \tanh \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )}{\sqrt {a^2+b^2}}\right )}{a \sqrt {a^2+b^2} d} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.227, Rules used = {5545, 3868, 2739, 632, 210} \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=\frac {4 b \text {arctanh}\left (\frac {a-b \tanh \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )}{\sqrt {a^2+b^2}}\right )}{a d \sqrt {a^2+b^2}}+\frac {2 \sqrt {x}}{a} \]
[In]
[Out]
Rule 210
Rule 632
Rule 2739
Rule 3868
Rule 5545
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {1}{a+b \text {csch}(c+d x)} \, dx,x,\sqrt {x}\right ) \\ & = \frac {2 \sqrt {x}}{a}-\frac {2 \text {Subst}\left (\int \frac {1}{1+\frac {a \sinh (c+d x)}{b}} \, dx,x,\sqrt {x}\right )}{a} \\ & = \frac {2 \sqrt {x}}{a}+\frac {(4 i) \text {Subst}\left (\int \frac {1}{1-\frac {2 i a x}{b}+x^2} \, dx,x,i \tanh \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )\right )}{a d} \\ & = \frac {2 \sqrt {x}}{a}-\frac {(8 i) \text {Subst}\left (\int \frac {1}{-4 \left (1+\frac {a^2}{b^2}\right )-x^2} \, dx,x,-\frac {2 i a}{b}+2 i \tanh \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )\right )}{a d} \\ & = \frac {2 \sqrt {x}}{a}+\frac {4 b \text {arctanh}\left (\frac {b \left (\frac {a}{b}-\tanh \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )\right )}{\sqrt {a^2+b^2}}\right )}{a \sqrt {a^2+b^2} d} \\ \end{align*}
Time = 0.16 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.16 \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=\frac {2 \left (\frac {c}{d}+\sqrt {x}-\frac {2 b \arctan \left (\frac {a-b \tanh \left (\frac {1}{2} \left (c+d \sqrt {x}\right )\right )}{\sqrt {-a^2-b^2}}\right )}{\sqrt {-a^2-b^2} d}\right )}{a} \]
[In]
[Out]
Time = 0.35 (sec) , antiderivative size = 89, normalized size of antiderivative = 1.41
method | result | size |
derivativedivides | \(\frac {-\frac {2 \ln \left (\tanh \left (\frac {c}{2}+\frac {d \sqrt {x}}{2}\right )-1\right )}{a}+\frac {2 \ln \left (\tanh \left (\frac {c}{2}+\frac {d \sqrt {x}}{2}\right )+1\right )}{a}+\frac {4 b \,\operatorname {arctanh}\left (\frac {-2 b \tanh \left (\frac {c}{2}+\frac {d \sqrt {x}}{2}\right )+2 a}{2 \sqrt {a^{2}+b^{2}}}\right )}{a \sqrt {a^{2}+b^{2}}}}{d}\) | \(89\) |
default | \(\frac {-\frac {2 \ln \left (\tanh \left (\frac {c}{2}+\frac {d \sqrt {x}}{2}\right )-1\right )}{a}+\frac {2 \ln \left (\tanh \left (\frac {c}{2}+\frac {d \sqrt {x}}{2}\right )+1\right )}{a}+\frac {4 b \,\operatorname {arctanh}\left (\frac {-2 b \tanh \left (\frac {c}{2}+\frac {d \sqrt {x}}{2}\right )+2 a}{2 \sqrt {a^{2}+b^{2}}}\right )}{a \sqrt {a^{2}+b^{2}}}}{d}\) | \(89\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 123 vs. \(2 (56) = 112\).
Time = 0.27 (sec) , antiderivative size = 123, normalized size of antiderivative = 1.95 \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=\frac {2 \, {\left ({\left (a^{2} + b^{2}\right )} d \sqrt {x} + \sqrt {a^{2} + b^{2}} b \log \left (\frac {a b + {\left (a^{2} + b^{2} + \sqrt {a^{2} + b^{2}} b\right )} \cosh \left (d \sqrt {x} + c\right ) - {\left (b^{2} + \sqrt {a^{2} + b^{2}} b\right )} \sinh \left (d \sqrt {x} + c\right ) + \sqrt {a^{2} + b^{2}} a}{a \sinh \left (d \sqrt {x} + c\right ) + b}\right )\right )}}{{\left (a^{3} + a b^{2}\right )} d} \]
[In]
[Out]
\[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=\int \frac {1}{\sqrt {x} \left (a + b \operatorname {csch}{\left (c + d \sqrt {x} \right )}\right )}\, dx \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.46 \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=-\frac {2 \, b \log \left (\frac {a e^{\left (-d \sqrt {x} - c\right )} - b - \sqrt {a^{2} + b^{2}}}{a e^{\left (-d \sqrt {x} - c\right )} - b + \sqrt {a^{2} + b^{2}}}\right )}{\sqrt {a^{2} + b^{2}} a d} + \frac {2 \, {\left (d \sqrt {x} + c\right )}}{a d} \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.46 \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=-\frac {2 \, b \log \left (\frac {{\left | 2 \, a e^{\left (d \sqrt {x} + c\right )} + 2 \, b - 2 \, \sqrt {a^{2} + b^{2}} \right |}}{{\left | 2 \, a e^{\left (d \sqrt {x} + c\right )} + 2 \, b + 2 \, \sqrt {a^{2} + b^{2}} \right |}}\right )}{\sqrt {a^{2} + b^{2}} a d} + \frac {2 \, {\left (d \sqrt {x} + c\right )}}{a d} \]
[In]
[Out]
Time = 2.57 (sec) , antiderivative size = 145, normalized size of antiderivative = 2.30 \[ \int \frac {1}{\sqrt {x} \left (a+b \text {csch}\left (c+d \sqrt {x}\right )\right )} \, dx=\frac {2\,\sqrt {x}}{a}-\frac {2\,b\,\ln \left (\frac {2\,b\,{\mathrm {e}}^{d\,\sqrt {x}}\,{\mathrm {e}}^c}{a^2\,\sqrt {x}}-\frac {2\,b\,\left (a-b\,{\mathrm {e}}^{d\,\sqrt {x}}\,{\mathrm {e}}^c\right )}{a^2\,\sqrt {x}\,\sqrt {a^2+b^2}}\right )}{a\,d\,\sqrt {a^2+b^2}}+\frac {2\,b\,\ln \left (\frac {2\,b\,{\mathrm {e}}^{d\,\sqrt {x}}\,{\mathrm {e}}^c}{a^2\,\sqrt {x}}+\frac {2\,b\,\left (a-b\,{\mathrm {e}}^{d\,\sqrt {x}}\,{\mathrm {e}}^c\right )}{a^2\,\sqrt {x}\,\sqrt {a^2+b^2}}\right )}{a\,d\,\sqrt {a^2+b^2}} \]
[In]
[Out]